using System;
using System.Windows.Forms;

namespace Pong
{
#if WINDOWS || XBOX
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
            Home home = new Home();

            Application.Run(home);
         
            using (Pong game = new Pong(home.NamePlayer1, home.NamePlayer2, home.Format, home.FullScreen, home.Mode, home.ClassPlayer1, home.ClassPlayer2) )
            {
                game.Run();
            }
        }
    }
#endif
}

